i18n: Detect more translatable attribute values
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 16 Jan 2022 14:03:05 +0000 (14:03 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 16 Jan 2022 14:03:05 +0000 (14:03 +0000)
commit9e83eb65017cb38b809c733535195507bd442bd8
treeea2f3b87f731bde8a4f77b8ee4fad023e15f45a3
parent06e5da456f974c975b3f8cec2ff48c5e57117ef5
i18n: Detect more translatable attribute values

GtkBuilder uses GMarkup, which defines a boolean attribute value as:

- yes/no
- true/false
- 1/0

The ITS file for GtkBuilder UI definitions is only using the first pair,
likely because Glade only ever used those values. GTK's own tools, though,
will typically simplify the full yes/no and true/false strings to 1 and 0,
to minimise the parsing time.

Fixes: #4596
tools/gtk4builder.its